#pragma once

#include <string>

class MIMClient
{
public:
	enum Protocol{kFacebook=0,kGtalk,kMsn,kYahoo};
public:
	MIMClient(void);
	virtual ~MIMClient(void);

	virtual BOOL Init()
	{
		return TRUE;
	}
	virtual BOOL UnInit()
	{
		return TRUE;
	}

	virtual int SignIn(const char * szName, const char* szPWD, int nStatus, Protocol nProtocol)
	{
		return 0;
	}
	virtual int SignOut()
	{
		return 0;
	}
	virtual int SetPresenceStatus(UINT uiStatus)
	{
		return 0;
	}
	virtual int SendMsg(TCHAR *szWho, TCHAR *szMsg)
	{
		return 0;
	}
	virtual void AckSubscriptionRequest(char* to, bool allow)
	{
		
	}
	virtual int SetStatusMsg(const char* msg)
	{
		return 0;
	}

protected:
	
};
